package com.flitsneak.designpatterns.mixedpatterns.facadeandfactoryandstrategy.strategy;

import lombok.Data;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2023/1/16 10:35
 * @description 挽回策略上下文
 */
@Data
public class RecoverContext {

    private RecoverStrategy recoverStrategy;

    public void recover() {
        recoverStrategy.recover();
    }

}
